;-| super Motions |--------------------------------------------------------
;Psycho Barrage - level 1
[Command]
name = "super"
command = ~U, B, U, a

;Psycho Barrage - level 1
[Command]
name = "super"
command = ~U, B, U, b

;Psycho Barrage - level 1
[Command]
name = "super"
command = ~U, B, U, c

;Psycho Barrage - level 2
[Command]
name = "super2"
command = ~U, B, U, x

;Psycho Barrage - level 2
[Command]
name = "super2"
command = ~U, B, U, y

;Psycho Barrage - level 2
[Command]
name = "super2"
command = ~U, B, U, z

;Absorb
[Command]
name = "drain"
command = ~U, F, c

;Absorb
[Command]
name = "drain"
command = ~U, F, z

;Absorb
[Command]
name = "drain"
command = ~U, B, z

;Absorb
[Command]
name = "drain"
command = ~U, U, c

;Absorb
[Command]
name = "drain"
command = ~U, F, c

;Absorb
[Command]
name = "drain"
command = ~U, B, c
----------------------------------------
;Absorb
[Command]
name = "drain"
command = a+b+x+y

;Absorb
[Command]
name = "drain"
command = b+c+y+z

;Absorb
[Command]
name = "drain"
command = a+c+x+z

;Absorb
[Command]
name = "drain"
command = ~D, F, a+b+x+y

;Absorb
[Command]
name = "drain"
command = ~D, F, b+c+y+z

;Absorb
[Command]
name = "drain"
command = ~D, F, a+c+x+z

;Absorb
[Command]
name = "drain"
command = ~D, B, a+b+x+y

;Absorb
[Command]
name = "drain"
command = ~D, B, b+c+y+z

;Absorb
[Command]
name = "drain"
command = ~D, B, a+c+x+z

----------------------------------------

[Command]
name = "super"
command = ~U, F, x

[Command]
name = "super"
command = ~U, F, y

[Command]
name = "super"
command = ~U, F, z

[Command]
name = "super"
command = ~U, F, a

[Command]
name = "super"
command = ~U, F, b

[Command]
name = "super"
command = ~U, F, c

[Command]
name = "super"
command = ~U, B, x

[Command]
name = "super"
command = ~U, B, y

[Command]
name = "super"
command = ~U, B, z

[Command]
name = "super"
command = ~U, B, a

[Command]
name = "super"
command = ~U, B, b

[Command]
name = "super"
command = ~U, B, c

[Command]
name = "super"
command = ~F, U, x

[Command]
name = "super"
command = ~F, U, y

[Command]
name = "super"
command = ~F, U, z

[Command]
name = "super"
command = ~F, U, a

[Command]
name = "super"
command = ~F, U, b

[Command]
name = "super"
command = ~F, U, c

[Command]
name = "light"
command = ~D, B, a+b

[Command]
name = "light"
command = ~D, B, b+c

[Command]
name = "light"
command = ~D, B, a+c

[Command]
name = "light"
command = ~D, B, a+b+c

[Command]
name = "light"
command = ~D, U, a+b+c

[Command]
name = "light"
command = ~D, UF, a+b+c

[Command]
name = "soul"
command = ~DF, UB, z
[Command]
name = "soul"
command = ~DF, UB, y
[Command]
name = "soul"
command = ~DF, UB, x

[Command]
name = "soul"
command = ~DF, UB, c
[Command]
name = "soul"
command = ~DF, UB, b
[Command]
name = "soul"
command = ~DF, UB, a

[Command]
name = "destroy1"
command = ~D, F, a+c

[Command]
name = "destroy2"
command = ~D, F, b+c

[Command]
name = "destroy1"
command = ~D, UF, U, a
[Command]
name = "destroy1"
command = ~D, UF, U, b
[Command]
name = "destroy1"
command = ~D, UF, U, c

-------------------------------------------------
[Command]
name = "destroy1"
command = ~B, F, a
[Command]
name = "destroy1"
command = ~B, F,  b
[Command]
name = "destroy1"
command = ~B, F,  c

-------------------------------------------------
[Command]
name = "destroy2"
command = ~D, UF, U, x
[Command]
name = "destroy2"
command = ~D, UF, U, y
[Command]
name = "destroy2"
command = ~D, UF, U, z

-----------------------------------------------
[Command]
name = "destroy2"
command = ~F, B,  x
[Command]
name = "destroy2"
command = ~F, B,  y
[Command]
name = "destroy2"
command = ~F, B,  z


--------------------------------------------------------------------------------
[Command]
name = "slash"
command = ~B, U, x

[Command]
name = "slash"
command = ~B, U, y

[Command]
name = "slash"
command = ~B, U, z

[Command]
name = "slash"
command = ~B, U, a

[Command]
name = "slash"
command = ~B, U, b

[Command]
name = "slash"
command = ~B, U, c


;-| Special Motions |------------------------------------------------------

;Aura Crusher X
[Command]
name = "a_crush_x"
command = ~D, F, x

;Aura Crusher Y
[Command]
name = "a_crush_y"
command = ~D, F, y

;Swing X
[Command]
name = "swing_x"
command = ~D, B, x

;Swing Y
[Command]
name = "swing_y"
command = ~D, B, y

;Spin Claw A
[Command]
name = "s_claw_a"
command = ~D, B, a

;Spin Claw B
[Command]
name = "s_claw_b"
command = ~D, B, b

;T-Claw
[Command]
name = "t_claw"
command = ~F, D, F, x

;T-Claw
[Command]
name = "t_claw"
command = ~F, D, F, y

;T-Claw
[Command]
name = "t_claw"
command = ~F, D, F, a

;T-Claw
[Command]
name = "t_claw"
command = ~F, D, F, b

;-| Double Tap |-----------------------------------------------------------

[Command]
name = "FF"
command = F, F
time = 10

[Command]
name = "BB"
command = B, B
time = 10

;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = "recovery" ;Required (do not remove)
command = x+y
time = 1
[Command]
name = "recovery"
command = y+z
time = 1
[Command]
name = "recovery"
command = x+z
time = 1

[Command]
name = "recovery"
command = a+b
time = 1
[Command]
name = "recovery"
command = b+c
time = 1
[Command]
name = "recovery"
command = a+c
time = 1

[Command]
name = "break1"
command = x
[Command]
name = "break1"
command = y
[Command]
name = "break1"
command = z
[Command]
name = "break1"
command = a
[Command]
name = "break1"
command = b
[Command]
name = "break1"
command = c

;-| Basics |---------------------------------------------------------
[Command]
name = "a"
command = a
time = 1

[Command]
name = "b"
command = b
time = 1

[Command]
name = "x"
command = x
time = 1

[Command]
name = "y"
command = y
time = 1

[Command]
name = "c"
command = c
time = 1

[Command]
name = "z"
command = z
time = 1

;-| Hold Btn |---------------------------------------------------------
[Command]
name = "hold_a"
command = /a
time = 1

[Command]
name = "hold_x"
command = /x
time = 1

[Command]
name = "hold_y"
command = /y
time = 1

[Command]
name = "hold_z"
command = /z
time = 1

[Command]
name = "hold_b"
command = /b
time = 1

[Command]
name = "hold_c"
command = /c
time = 1

;-| Hold Dir |--------------------------------------------------------------
[Command]
name = "holdfwd"
command = /$F
time = 1

[Command]
name = "holdback"
command = /$B
time = 1

[Command]
name = "holdup"
command = /$U
time = 1

[Command]
name = "holddown"
command = /$D
time = 1

;---------------------------------------------------------------------------
[Statedef -1]

;===========================================================================
;RunF
[State -1]
type = ChangeState
value = 20
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl = 1

;RunB
[State -1]
type = null ;ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl = 1

;===============
;Charge
[State -1, charge]
type = ChangeState
value = 1070
triggerall = command = "hold_x"
triggerall = command = "hold_y"
triggerall = command = "hold_z"
triggerall = command = "hold_a"
triggerall = command = "hold_b"
triggerall = command = "hold_c"
triggerall = power <= 1000
trigger1 = statetype != A
trigger1 = ctrl = 1

;===========================================================================
;Psycho Barrage
[State -1, psychobarrage 1]
type = ChangeState
value = 2000
triggerall = command = "super"
triggerall = p2Name != "Onslaught2"
triggerall = Var(20) = 1
triggerall = Var(20) != 2
triggerall = Var(20) != 3
triggerall = Var(20) != 4
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger3 = stateno = 200
trigger4 = stateno = 430
trigger5 = stateno = 400
trigger6 = stateno = 240
trigger7 = stateno = 210
trigger8 = stateno = 410
trigger9 = stateno = 1010
trigger10 = stateno = 1011
trigger11 = stateno = 1020
trigger12 = stateno = 1021
trigger13 = stateno = 1005
trigger14 = stateno = 1006

;---------------------------------------------------------------------------
;Psycho Barrage - level 2
[State -1, psychobarrage 2]
type = ChangeState
value = 2020
triggerall = command = "super2"
triggerall = p2Name != "Onslaught2"
triggerall = power >= 2000
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger3 = stateno = 200
trigger4 = stateno = 430
trigger5 = stateno = 400
trigger6 = stateno = 240
trigger7 = stateno = 210
trigger8 = stateno = 410
trigger9 = stateno = 1010
trigger10 = stateno = 1011
trigger11 = stateno = 1020
trigger12 = stateno = 1021
trigger13 = stateno = 1005
trigger14 = stateno = 1006

;---------------------------------------------------------------------------
;Lightning Crusher
[State -1, lightning crusher]
type = ChangeState
value = 1060
triggerall = command = "light"
triggerall = power >= 2000
;triggerall = p2Name != "Onslaught2"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger3 = stateno = 200
trigger4 = stateno = 430
trigger5 = stateno = 400
trigger6 = stateno = 240
trigger7 = stateno = 210
trigger8 = stateno = 410
trigger9 = stateno = 1010
trigger10 = stateno = 1011
trigger11 = stateno = 1020
trigger12 = stateno = 1021
trigger13 = stateno = 1005
trigger14 = stateno = 1006

;---------------------------------------------------------------------------
;Lightning Crusher
[State -1, lightning crusher]
type = ChangeState
value = 1065
triggerall = command = "light"
triggerall = power >= 1000
triggerall = p2Name = "Onslaught2"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger3 = stateno = 200
trigger4 = stateno = 430
trigger5 = stateno = 400
trigger6 = stateno = 240
trigger7 = stateno = 210
trigger8 = stateno = 410
trigger9 = stateno = 1010
trigger10 = stateno = 1011
trigger11 = stateno = 1020
trigger12 = stateno = 1021
trigger13 = stateno = 1005
trigger14 = stateno = 1006

;---------------------------------------------------------------------------
;Soul
;[State -1, soul]
;type = ChangeState
;value = 1080
;triggerall = command = "soul"
;triggerall = Statetype != A
;trigger1 = Var30 < 1
;trigger1 = Ctrl = 1

;---------------------------------------------------------------------------
;[State -1, stab]
type = ChangeState
value = 2070
triggerall = command = "super"
triggerall = p2Name != "Onslaught2"
triggerall = statetype != A
triggerall = Var(20) = 3
triggerall = Var(20) != 1
triggerall = Var(20) != 2
triggerall = Var(20) != 4
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger3 = stateno = 200
trigger4 = stateno = 430
trigger5 = stateno = 400
trigger6 = stateno = 240
trigger7 = stateno = 210
trigger8 = stateno = 410
trigger9 = stateno = 1010
trigger10 = stateno = 1011
trigger11 = stateno = 1020
trigger12 = stateno = 1021
trigger13 = stateno = 1005
trigger14 = stateno = 1006

;---------------------------------------------------------------------------
;Final Slash
[State -1, final slash]
type = ChangeState
value = 3000
triggerall = command = "super"
triggerall = p2Name != "Onslaught2"
triggerall = power >= 1000
triggerall = statetype != A
triggerall = Var(20) = 2
triggerall = Var(20) != 1
triggerall = Var(20) != 3
triggerall = Var(20) != 4
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger3 = stateno = 200
trigger4 = stateno = 430
trigger5 = stateno = 400
trigger6 = stateno = 240
trigger7 = stateno = 210
trigger8 = stateno = 410
trigger9 = stateno = 1010
trigger10 = stateno = 1011
trigger11 = stateno = 1020
trigger12 = stateno = 1021
trigger13 = stateno = 1005
trigger14 = stateno = 1006

;---------------------------------------------------------------------------
;Final Slash
[State -1, final slash]
type = ChangeState
value = 3000
triggerall = command = "slash"
triggerall = p2Name != "Onslaught2"
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger3 = stateno = 200
trigger4 = stateno = 430
trigger5 = stateno = 400
trigger6 = stateno = 240
trigger7 = stateno = 210
trigger8 = stateno = 410
trigger9 = stateno = 1010
trigger10 = stateno = 1011
trigger11 = stateno = 1020
trigger12 = stateno = 1021
trigger13 = stateno = 1005
trigger14 = stateno = 1006

;---------------------------------------------------------------------------
;Final Slash
[State -1, final slash]
type = ChangeState
value = 3000
triggerall = command = "z"
triggerall = command = "c"
triggerall = power >= 1000
triggerall = p2Name != "Onslaught2"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger3 = stateno = 200
trigger4 = stateno = 430
trigger5 = stateno = 400
trigger6 = stateno = 240
trigger7 = stateno = 210
trigger8 = stateno = 410
trigger9 = stateno = 1010
trigger10 = stateno = 1011
trigger11 = stateno = 1020
trigger12 = stateno = 1021
trigger13 = stateno = 1005
trigger14 = stateno = 1006

;---------------------------------------------------------------------------
;absorb
[State -1, super]
type = ChangeState
value = 2060
triggerall = command = "drain"
triggerall = statetype != A
triggerall = NumHelper(6005) = 0
triggerall = NumHelper(6006) = 0
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger3 = stateno = 200
trigger4 = stateno = 430
trigger5 = stateno = 400
trigger6 = stateno = 240
trigger7 = stateno = 210
trigger8 = stateno = 410
trigger9 = stateno = 1010
trigger10 = stateno = 1011
trigger11 = stateno = 1020
trigger12 = stateno = 1021
trigger13 = stateno = 1005
trigger14 = stateno = 1006

;===========================
;Destroy
[State -1]
type = ChangeState
value = 6010
triggerall = life <= 1000
triggerall = NumHelper(6005) = 1
triggerall = command = "destroy1"
trigger1 = StateType = S
trigger1 = Ctrl = 1

;===========================
;Destroy
[State -1]
type = ChangeState
value = 6011
triggerall = life <= 1000
triggerall = NumHelper(6005) = 0
triggerall = NumHelper(6006) = 1
triggerall = command = "destroy1"
trigger1 = StateType = S
trigger1 = Ctrl = 1

;===========================
;Destroy2
[State -1]
type = ChangeState
value = 6012
triggerall = life <= 1000
triggerall = NumHelper(6005) = 1
triggerall = NumHelper(6006) = 1
triggerall = command = "destroy2"
trigger1 = StateType = S
trigger1 = Ctrl = 1

;===========================================================================
;Aura Crusher X
[State -1, aura crusher x]
type = ChangeState
value = 1000
triggerall = command = "a_crush_x"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1
trigger3 = stateno = 200
trigger3 = movecontact = 1
trigger4 = stateno = 430
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 240
trigger6 = movecontact = 1
trigger7 = stateno = 210
trigger7 = movecontact = 1
trigger8 = stateno = 410
trigger8 = movecontact = 1
trigger9 = stateno = 1010
trigger9 = movecontact = 1
trigger10 = stateno = 1011
trigger10 = movecontact = 1
trigger11 = stateno = 1020
trigger11 = movecontact = 1
trigger12 = stateno = 1021
trigger12 = movecontact = 1

;===========================================================================
;Aura Crusher Y
[State -1, aura crusher y]
type = ChangeState
value = 1005
triggerall = command = "a_crush_y"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1
trigger3 = stateno = 200
trigger3 = movecontact = 1
trigger4 = stateno = 430
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 240
trigger6 = movecontact = 1
trigger7 = stateno = 210
trigger7 = movecontact = 1
trigger8 = stateno = 410
trigger8 = movecontact = 1
trigger9 = stateno = 1010
trigger9 = movecontact = 1
trigger10 = stateno = 1011
trigger10 = movecontact = 1
trigger11 = stateno = 1020
trigger11 = movecontact = 1
trigger12 = stateno = 1021
trigger12 = movecontact = 1

;===========================================================================
;Swing X
[State -1, swing x]
type = ChangeState
value = 1010
triggerall = command = "swing_x"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1
trigger3 = stateno = 200
trigger3 = movecontact = 1
trigger4 = stateno = 430
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 240
trigger6 = movecontact = 1
trigger7 = stateno = 210
trigger7 = movecontact = 1
trigger8 = stateno = 410
trigger8 = movecontact = 1
trigger9 = stateno = 1020
trigger9 = movecontact = 1
trigger10 = stateno = 1021
trigger10 = movecontact = 1

;===========================================================================
;Swing Y
[State -1, swing y]
type = ChangeState
value = 1011
triggerall = command = "swing_y"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1
trigger3 = stateno = 200
trigger3 = movecontact = 1
trigger4 = stateno = 430
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 240
trigger6 = movecontact = 1
trigger7 = stateno = 210
trigger7 = movecontact = 1
trigger8 = stateno = 410
trigger8 = movecontact = 1
trigger9 = stateno = 1020
trigger9 = movecontact = 1
trigger10 = stateno = 1021
trigger10 = movecontact = 1

;===========================================================================
;Spin Claw A
[State -1, spin claw a]
type = ChangeState
value = 1020
triggerall = command = "s_claw_a"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1
trigger3 = stateno = 200
trigger3 = movecontact = 1
trigger4 = stateno = 430
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 240
trigger6 = movecontact = 1
trigger7 = stateno = 210
trigger7 = movecontact = 1
trigger8 = stateno = 410
trigger8 = movecontact = 1
trigger9 = stateno = 1010
trigger9 = movecontact = 1
trigger10 = stateno = 1011
trigger10 = movecontact = 1

;===========================================================================
;Spin Claw B
[State -1, spin claw b]
type = ChangeState
value = 1021
triggerall = command = "s_claw_b"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1
trigger3 = stateno = 200
trigger3 = movecontact = 1
trigger4 = stateno = 430
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 240
trigger6 = movecontact = 1
trigger7 = stateno = 210
trigger7 = movecontact = 1
trigger8 = stateno = 410
trigger8 = movecontact = 1
trigger9 = stateno = 1010
trigger9 = movecontact = 1
trigger10 = stateno = 1011
trigger10 = movecontact = 1

;===========================================================================
;T-Claw
[State -1, t-claw]
type = ChangeState
value = 1030
triggerall = command = "t_claw"
triggerall = statetype != A
trigger1 = stateno = 230
trigger1 = movecontact = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 430
trigger3 = movecontact = 1
trigger4 = stateno = 400
trigger4 = movecontact = 1
trigger5 = stateno = 240
trigger5 = movecontact = 1
trigger6 = stateno = 210
trigger6 = movecontact = 1
trigger7 = stateno = 410
trigger7 = movecontact = 1
trigger8 = stateno = 1010
trigger8 = movecontact = 1
trigger9 = stateno = 1011
trigger9 = movecontact = 1
trigger10 = stateno = 1020
trigger10 = movecontact = 1
trigger11 = stateno = 1021
trigger11 = movecontact = 1
trigger12 = stateno = 1005
trigger12 = movecontact = 1
trigger13 = stateno = 1006
trigger13 = movecontact = 1

;===========================================================================
;Breaker
[State -1]
type = ChangeState
value = 4000
triggerall = Statetype != A
triggerall = command = "break1"
triggerall = power >= 500
trigger1 = Stateno = 150
trigger2 = Stateno = 151
trigger3 = stateno = 5000
trigger4 = stateno = 5001
trigger5 = stateno = 5002
trigger6 = stateno = 5010
trigger7 = stateno = 5011
trigger8 = stateno = 5012
trigger9 = stateno = 5020
trigger10 = stateno = 5021
trigger11 = stateno = 5022
trigger12 = stateno = 5110
trigger13 = stateno = 5120
trigger14 = stateno = 150
trigger15 = stateno = 151
trigger16 = stateno = 152
trigger17 = stateno = 9000

;===========================================================================
;Jab
[State -1, jab]
type = ChangeState
value = 230
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Duck Jab
[State -1, duck jab]
type = ChangeState
value = 430
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1

;---------------------------------------------------------------------------
;Jump Jab
[State -1, jump jab]
type = ChangeState
value = 630
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Short
[State -1, short]
type = ChangeState
value = 200
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1

;---------------------------------------------------------------------------
;Duck Short
[State -1, duck short]
type = ChangeState
value = 400
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1
trigger3 = stateno = 200
trigger3 = movecontact = 1
trigger4 = stateno = 430
trigger4 = movecontact = 1

;---------------------------------------------------------------------------
;Jump Short
[State -1, jump short]
type = ChangeState
value = 600
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 630
trigger2 = movecontact = 1
trigger2 = command = "a"

;---------------------------------------------------------------------------
;Fierce
[State -1, fierce]
type = ChangeState
value = 240
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1
trigger3 = stateno = 200
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 430
trigger5 = movecontact = 1
trigger6 = stateno = 400
trigger6 = movecontact = 1

;---------------------------------------------------------------------------
;Duck Fierce
[State -1, duck fierce]
type = ChangeState
value = 440
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1
trigger3 = stateno = 200
trigger3 = movecontact = 1
trigger4 = stateno = 430
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1

;super Jump
[State -1, super jump]
type = ChangeState
value = 50
trigger1 = stateno = 440
trigger1 = movehit = 1
trigger1 = command = "holdup"

;---------------------------------------------------------------------------
;Jump Fierce
[State -1, jump fierce]
type = ChangeState
value = 640
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 630
trigger2 = movecontact = 1
trigger2 = command = "y"
trigger3 = stateno = 600
trigger3 = movecontact = 1
trigger3 = command = "y"

;---------------------------------------------------------------------------
;RoundHouse
[State -1, rndh]
type = ChangeState
value = 210
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1
trigger3 = stateno = 200
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 430
trigger5 = movecontact = 1
trigger6 = stateno = 400
trigger6 = movecontact = 1

;---------------------------------------------------------------------------
;Duck RoundHouse
[State -1, duck rndh]
type = ChangeState
value = 410
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1
trigger3 = stateno = 200
trigger3 = movecontact = 1
trigger4 = stateno = 430
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 240
trigger6 = movecontact = 1

;---------------------------------------------------------------------------
;Jump RoundHouse
[State -1, jump rndh]
type = ChangeState
value = 610
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 630
trigger2 = movecontact = 1
trigger2 = command = "b"
trigger3 = stateno = 600
trigger3 = movecontact = 1
trigger3 = command = "b"
trigger4 = stateno = 640
trigger4 = movecontact = 1
trigger4 = command = "b"

;---------------------------------------------------------------------------
;OverHead
[State -1, overhead]
type = ChangeState
value = 1008
triggerall = command = "z"
trigger1 = Statetype != A
trigger1 = Ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1
trigger3 = stateno = 200
trigger3 = movecontact = 1
trigger4 = stateno = 430
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 240
trigger6 = movecontact = 1
trigger7 = stateno = 210
trigger7 = movecontact = 1
trigger8 = stateno = 410
trigger8 = movecontact = 1
trigger9 = stateno = 1010
trigger9 = movecontact = 1
trigger10 = stateno = 1011
trigger10 = movecontact = 1
trigger11 = stateno = 1020
trigger11 = movecontact = 1
trigger12 = stateno = 1021
trigger12 = movecontact = 1
trigger13 = stateno = 1005
trigger13 = movecontact = 1
trigger14 = stateno = 1006
trigger14 = movecontact = 1

;---------------------------------------------------------------------------
;Upper
[State -1, upper]
type = ChangeState
value = 1009
triggerall = command = "c"
trigger1 = Statetype != A
trigger1 = Ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1
trigger3 = stateno = 200
trigger3 = movecontact = 1
trigger4 = stateno = 430
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 240
trigger6 = movecontact = 1
trigger7 = stateno = 210
trigger7 = movecontact = 1
trigger8 = stateno = 410
trigger8 = movecontact = 1
trigger9 = stateno = 1010
trigger9 = movecontact = 1
trigger10 = stateno = 1011
trigger10 = movecontact = 1
trigger11 = stateno = 1020
trigger11 = movecontact = 1
trigger12 = stateno = 1021
trigger12 = movecontact = 1
trigger13 = stateno = 1005
trigger13 = movecontact = 1
trigger14 = stateno = 1006
trigger14 = movecontact = 1

